/**
 * 对象功能:行政区域表 Model对象
 * 作者:yhb
 * 开发时间:2011-6-9 12:52:46
 */
package com.towker.frame.model.sys;

public class Area
{
	@Override
	public String toString(){return"{id:"+id+",pid:"+pid+",name:'"+name+"'}";}

	//主键
	private Integer id = 0;
	//上级ID
	private Integer pid = 0;
	//代码
	private String code = "";
	//名称
	private String name = "";
	//备注
	private String memo = "";
	//排序
	private Integer sequence=0;
	
	private Area[] areas;

	public Integer getSequence()
	{
		return sequence;
	}

	public void setSequence(Integer sequence)
	{
		this.sequence = sequence;
	}

	public void setCode(String code)
	{
		this.code = code;
	}

	public String getCode()
	{
		return this.code;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getName()
	{
		return this.name;
	}

	public void setMemo(String memo)
	{
		this.memo = memo;
	}

	public String getMemo()
	{
		return this.memo;
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getPid()
	{
		return pid;
	}

	public void setPid(Integer pid)
	{
		this.pid = pid;
	}
}